<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>注册界面</title>
<meta name="viewport" content="width=device-width,initial-scale=1">

<link rel="stylesheet" type="text/css" href="/bootstrap/bootstrap.min.css">
<link rel="stylesheet" type="text/css" href="/css/login.css">
<script type="text/javascript" src="/js/regis.js"></script>
<script type="text/javascript" src="/bootstrap/jquery2.1.1.min.js"></script>
<script type="text/javascript" src="/bootstrap/bootstrap.min.js"></script>
</head>
<body>
<!--登陆界面-->
<div class="container" style="margin:10% auto;">
        <div class="row">
            <div class="col-md-4 col-md-offset-4">
                <div class="login-panel panel panel-default">
                    <div class="panel-heading">
                        <h3 class="panel-title">注册新用户</h3>
                    </div>
                    <div class="panel-body">
                            <form class="form-horizontal" role="form" action="/login">
                            <fieldset>
                                 <div class="form-group">
                                    <input class="form-control" placeholder="姓名" id="name" type="text" maxlength="20" autofocus>
                                </div>
                                <div class="form-group">
                                    <input class="form-control" placeholder="用户名" id="user" type="text" maxlength="20" autofocus>
                                </div>
                                <div class="form-group">
                                    <input class="form-control" placeholder="密码" id="pass" type="password" maxlength="20" value="" >
                                </div>
                                <div class="form-group">
                                    <select class="form-control" id="sex">
                                        <option value="m">男</option>
                                        <option value="w">女</option>
                                        <option value="o">其他</option>
                                    </select>
                                </div>
                                <div class="form-group">
                                    <input class="form-control" placeholder="年龄" id="age" type="text" value="">
                                </div>
                                <div class="form-group">
                                    <input class="form-control" placeholder="地址" id="address" type="text" maxlength="100" value="">
                                </div>
                                <div class="form-group">
                                    <input class="form-control" placeholder="邮箱(example@163.com)" id="email" type="email" value="">
                                </div>
                                <div class="form-group">
                                    <input class="form-control" placeholder="联系电话" id="phone" type="text" maxlength="15" value="">
                                </div>
                                <input type="button" class="btn btn-lg btn-success btn-block" value="返回登录" onclick="return_login()">
                                <input type="button" class="btn btn-lg btn-primary btn-block" value="注册" onclick="regis()">
                          
                            </fieldset>
                            </form>
                        
                    </div>
                </div>
            </div>
        </div>
    </div>
<!--登陆界面end-->
<!-- 模态框（Modal） -->
<div class="modal fade" id="myModal" tabindex="-1" role="dialog" 
   aria-labelledby="myModalLabel" aria-hidden="true">
   <div class="modal-dialog">
      <div class="modal-content">
         <div class="modal-header">
            <h4 class="modal-title" id="myModalLabel" >
               你还没有输入用户名和密码
            </h4>
         </div>
        <div style="padding:15px;text-align:right;border-top:1px solid #e5e5e5">
            <button type="button" class="btn btn-warning" data-dismiss="modal" >关闭</button>
          </div>
        
      </div>
   </div>
</div>
<!--模态框end-->

</body>
</html>